package system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import common.model.po.SysLog;
import common.model.request.base.PaginationRequest;
import system.model.request.SearchMyselfSystemLogRequest;
import system.model.request.SearchSystemLogRequest;

/**
 * 服务类
 *
 * @author 米泽鹏
 * @since 2022-03-16
 */
public interface SysLogService extends IService<SysLog> {

	/**
	 * 系统日志分页查询
	 *
	 * @param paginationRequest PaginationRequest<SearchSystemLogRequest, SysLog>
	 * @return Page<SysLog>
	 */
	Page<SysLog> pageSystemLog(PaginationRequest<SearchSystemLogRequest, SysLog> paginationRequest);

	/**
	 * 系统日志分页查询
	 *
	 * @param paginationRequest PaginationRequest<SearchMyselfSystemLogRequest, SysLog>
	 * @return Page<SysLog>
	 */
	Page<SysLog> pageMyselfSystemLog(PaginationRequest<SearchMyselfSystemLogRequest, SysLog> paginationRequest);

}
